<?php /* Smarty version Smarty-3.1.12, created on 2013-03-10 14:54:57
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/ladder/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:11742941325116bce7851191-95427757%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2d205feb572817013ccac617a1a597e6da6480a9' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/ladder/index.tpl',
      1 => 1362923693,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '11742941325116bce7851191-95427757',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_5116bce7878567_76609061',
  'variables' => 
  array (
    'activeSingleLadder' => 0,
    'activeSingle1vs1Ladder' => 0,
    'activeTeamLadder' => 0,
    'section' => 0,
    'matchModes' => 0,
    'tableID' => 0,
    'generalData' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5116bce7878567_76609061')) {function content_5116bce7878567_76609061($_smarty_tpl) {?><div class="page-header">
<h1>Ladder</h1>
</div>
<ul class="nav nav-pills">
  <li class="<?php echo $_smarty_tpl->tpl_vars['activeSingleLadder']->value;?>
">
    <a href="?ladder=Single5vs5Ladder">Single-5vs5-Ladder</a>
  </li>
   <li class="<?php echo $_smarty_tpl->tpl_vars['activeSingle1vs1Ladder']->value;?>
 disabled t" title="coming soon">
    <a>1vs1-Ladder</a>
  </li>
  <li class="<?php echo $_smarty_tpl->tpl_vars['activeTeamLadder']->value;?>
 disabled t" title="coming soon">
  	<a>Team-5vs5-Ladder</a>
  </li>
</ul>
<div class="tabbable tabs-left">
	<?php echo $_smarty_tpl->getSubTemplate ("prototypes/matchModeTabs.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('idTabs'=>($_smarty_tpl->tpl_vars['section']->value).("Tabs"),'matchModes'=>$_smarty_tpl->tpl_vars['matchModes']->value), 0);?>

	<div class="tab-content">
		<div class="tab-pane active" id="<?php echo $_smarty_tpl->tpl_vars['section']->value;?>
Tabs0">
		
		<?php $_smarty_tpl->tpl_vars["tableID"] = new Smarty_variable(($_smarty_tpl->tpl_vars['section']->value).("TableGeneral"), null, 0);?>
		
		<?php echo $_smarty_tpl->getSubTemplate ("ladder/tablePrototype.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TableID'=>$_smarty_tpl->tpl_vars['tableID']->value,'data'=>$_smarty_tpl->tpl_vars['generalData']->value), 0);?>

		</div>
		
		<?php if (count($_smarty_tpl->tpl_vars['matchModes']->value)>0&&is_array($_smarty_tpl->tpl_vars['matchModes']->value)){?>
			<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['matchModes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
				<div class="tab-pane" id="<?php echo $_smarty_tpl->tpl_vars['section']->value;?>
Tabs<?php echo $_smarty_tpl->tpl_vars['v']->value['MatchModeID'];?>
"></div>
		    <?php } ?>
		<?php }?>
	</div>
</div><?php }} ?>